package com.esinhai.tz.service;

import com.esinhai.tz.common.ServerResponse;
import com.esinhai.tz.pojo.UserTz;
import com.esinhai.tz.pojo.UserTzWithBLOBs;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by 32988 on 2018/4/12.
 */
public interface IUserTzService {
    ServerResponse<UserTzWithBLOBs> saveUserInfo(MultipartFile[] imgFiles, MultipartFile[] faceFiles);

    ServerResponse<List<Map<String, Object>>> queryUserInfo(UserTz userTz);

    ServerResponse<String> deleteUserInfo(String objectId);

    Map<String, Object> queryUserFaceInfo(UserTz userTz);

    Map<String, Object> queryUserFaceInfo(String idcard);

    ServerResponse<String> saveWebServiceFrontImages(MultipartFile[] imgFiles, MultipartFile[] faceFiles);

    ServerResponse<String> saveUserFaceImage ();
}
